package com.cqjtu.store.user.mapper;

import com.cqjtu.store.user.pojo.entity.User;
import org.springframework.stereotype.Repository;

@Repository //持久层
public interface UserMapper {
    /**
     * 新增用户
     * @param user
     * @return
     */
    int insert(User user);

    User getUserByName(String username);
}
